<?php 

$this->title = "showprofile";
$this->headTitle($this->title);
echo $this->form  ;


$auth = Zend_Auth::getInstance();
if ($auth->hasIdentity()) {
	$vorname = $auth->getIdentity()->vorname;
	echo '<a href=\"/profile' . $vorname . '\">Hallo, ' . $vorname .  '</a>';
}
else{
	echo '<a href="/sailorbase-a/sailorbase-a/public/Auth/">Login</a>';
}

return '<a href=\"/login\">Login</a>';
